#ifndef SYS_TIME_H
#define SYS_TIME_H
typedef enum
{
TimerDisable,
TimerEnable
}TimerStateType;
typedef enum
{
AlarmOff,
AlarmOn
}AlarmStateType;
typedef struct
{
	TimerStateType TimerState;
	unsigned int TimerSet;
	unsigned int TimerCnt;
	AlarmStateType AlarmState;
}TimerType;

extern TimerType TimerSys;

void TimerInit(void);
void TimerSet(TimerType *,unsigned int MsSet);
void TimerClean(TimerType *);
#endif
